package com.ruoyi.womp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 备件信息对象 womp_spare_parts
 * 
 * @author mzz
 * @date 2023-05-11
 */
public class WompSpareParts extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long id;

	/** 名称 */
	@Excel(name = "名称")
	private String name;

	/** 型号 */
	@Excel(name = "型号")
	private String model;

	/** 规格 */
	@Excel(name = "规格")
	private String spec;

	/** 生产厂家 */
	@Excel(name = "生产厂家")
	private String productue;

	/** 库存数量 */
	@Excel(name = "库存数量")
	private Integer num;

	/** 附件 */
	@Excel(name = "附件")
	private String annex_file;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getModel() {
		return model;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getSpec() {
		return spec;
	}

	public void setProductue(String productue) {
		this.productue = productue;
	}

	public String getProductue() {
		return productue;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public void setAnnex_file(String annex_file) {
		this.annex_file = annex_file;
	}

	public String getAnnex_file() {
		return annex_file;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("name", getName())
				.append("model", getModel()).append("spec", getSpec()).append("productue", getProductue())
				.append("remark", getRemark()).append("annex_file", getAnnex_file())
				.append("createTime", getCreateTime()).append("createBy", getCreateBy())
				.append("updateTime", getUpdateTime()).append("updateBy", getUpdateBy()).toString();
	}
}
